package cn.zc.examination.service.service;

import cn.tools.core.VO.PageVO;
import cn.zc.examination.entity.Dto.ExaminationBankDto;
import cn.zc.examination.entity.ExaminationBank;
import cn.zc.examination.entity.VO.ExaminationBankVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 考试题库 服务类
 * </p>
 *
 * @author keno
 * @since 2022-02-22
 */
public interface ExaminationBankService extends IService<ExaminationBank> {
    /**
     * 创建考题
     * @param examinationBankDto
     */
    void createExaminationBank(ExaminationBankDto examinationBankDto);

    /**
     * 修改考题
     * @param examinationBankDto
     */
    void updateExaminationBank(ExaminationBankDto examinationBankDto);

    /**
     * 删除考题
     * @param id
     */
    void deleteExaminationBank(String id);

    /**
     * 条件查询考题
     * @param pageVO
     * @param examinationBankVO
     * @return
     */
    List<ExaminationBankDto> findExaminationBank(PageVO pageVO, ExaminationBankVO examinationBankVO);
}
